package cn.service.dao;

import cn.service.entiy.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserDao {
    int insertUser(User user);

    int login(User user);

    User getUserById(Integer id);
}
